package com.gonsin.gview.annotations.interfaces;

import com.gonsin.base.GPageRequest;
import com.gonsin.base.GPageResult;
import com.gonsin.gview.annotations.board.table.GSearchFilter;
import com.gonsin.gview.annotations.board.table.GSearchBar;

import java.util.List;

/**
 * 搜索回调
 */
public interface ISearchListener<T> {


    /**
     * 搜索回调方法
     */
    GPageResult<T> onSearch(String searchContent, GPageRequest pageRequest, List<GSearchFilter> filters, GSearchBar searchBar);

}
